package com.cml.getway.core.netty.processor.filter;

import com.cml.getway.core.context.Context;

/**
 * 姓名：陈茂林
 * 时间：2024/1/15
 * 描述：
 */
public abstract class ProcessorFilterChain<T> extends AbstractLinkedProcessorFilter<T>{
    public abstract void addFirst(AbstractLinkedProcessorFilter<T> filter);

    public abstract void addLast(AbstractLinkedProcessorFilter<T> filter);

    public abstract boolean check(Context ctx) throws Throwable;

    public abstract void entry(Context ctx, Object... args) throws Throwable;
}
